
import request from '@/utils/request'

export function addContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/content/add',
    method: 'post',
    data
  })
}
export function delSubMenu(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/subMenu/delete',
    method: 'post',
    data
  })
}
export function delContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/content/delete',
    method: 'post',
    data
  })
}
export function updateContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/content/update',
    method: 'post',
    data
  })
}

export function listContent() {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/content/list',
    method: 'get'
  })
}
export function detailContent() {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/content/detail',
    method: 'get'
  })
}

